public abstract class UhfBase
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
UhfBase.ErrorCode |
| Constructor and Description |
|---|
UhfBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
factoryReset()
恢复出厂设置(Reset uhf parameters)
|
boolean |
free() |
abstract ConnectionStatus |
getConnectStatus() |
int |
getFastInventoryMode() |
abstract boolean |
init(android.content.Context context) |
abstract boolean |
isInventorying() |
java.lang.String |
readTcpServiceState() |
boolean |
setEPCAndTIDUserMode(InventoryModeEntity entity)
设置循环盘点同时读取 EPC、TID、USER 模式
Setup auto scan to acquire EPC, TID, User mode |
boolean |
setFastInventoryMode(boolean enable) |
void |
setOnLowBatteryListener(android.content.Context context,
LowBatteryEntity entity,
OnLowBatteryListener onLowBatteryListener) |
abstract boolean |
stopInventory() |
public abstract boolean init(android.content.Context context)
public boolean free()
public abstract ConnectionStatus getConnectStatus()
public abstract boolean isInventorying()
public abstract boolean stopInventory()
public boolean setFastInventoryMode(boolean enable)
public int getFastInventoryMode()
public void setOnLowBatteryListener(android.content.Context context,
LowBatteryEntity entity,
OnLowBatteryListener onLowBatteryListener)
throws LowBatteryException
LowBatteryExceptionpublic java.lang.String readTcpServiceState()
public boolean factoryReset()
public boolean setEPCAndTIDUserMode(InventoryModeEntity entity)
entity - inventory mode, 0:EPC,1:EPC+TID, 2:EPC+TID+USER, 10:EPC+RESERVED